<template>
  <div class="home">
    <scrollAutoCom class="scroll-container">
      <div class="box" v-for="num in 10" :key="num">
        Box {{ num }}
      </div>
    </scrollAutoCom>
  </div>
</template>

<script>
import scrollAutoCom from '@/components/scrollAutoCom.vue'
export default {
  name: 'HomeView',
  components: { scrollAutoCom }
}
</script>

<style lang="scss" scoped>
.scroll-container {
  margin: auto;
  width: 400px;
  height: 500px;
  background-color: aquamarine;
}

.box {
  margin: auto;
  width: 80%;
  height: 100px;
  margin-bottom: 24px;
  /* Adjust height as needed */
  line-height: 50px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  background-color: orange;
}
</style>